#include "ESF_Student_t.h"

ESF_Student_t::ESF_Student_t(const unsigned int& n):StudentImpl(n)
{
}

void ESF_Student_t::tell()
{
	cout << "I'm an ESF student!" << endl;
}

void ESF_Student_t::handle(int n)
{
	ostringstream str;
	str << "I'm student ID " << getId() << " and I just learned that: ";
	if(n == 1)
		cout << str.str() << "University prices are up!" << endl;
	else if(n == 2)
		cout << str.str() << "Class is canceled!" << endl;
}
